package org.thingsboard.server.schedule;

import org.quartz.SchedulerException;
import org.thingsboard.server.common.data.SchedulerEvent;
import org.thingsboard.server.common.data.SchedulerEventInfo;
import org.thingsboard.server.common.data.audit.ActionType;

public interface SchedulerSystem {
    void onSchedulerEventChange(SchedulerEvent savedSe, ActionType actionType) throws SchedulerException;

    void onSchedulerEventInfoChange(SchedulerEventInfo savedSe, ActionType actionType) throws SchedulerException;

    void triggerSchedulerEvent(SchedulerEventInfo schedulerEventInfo) throws SchedulerException;
}
